home *** CD-ROM | disk | FTP | other *** search
- Path: news.ultranet.com!usenet
- From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
- Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems
- Subject: Re: Best settings?
- Date: Fri, 19 Apr 1996 12:37:54 -0400
- Organization: Cerberus Systems, Inc.
- Message-ID: <3177C162.443C@cerberus-sys.com>
- References: <3174507B.7A6@ix.netcom.com>
- NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win16; I)
-
- Peter Cumming wrote:
- >
- > What are the optimum setting for 2.1f PPP using USR 14.4 modem, hooked to
- > Netcom and using Netscape Navigator 16bit 2.01 version???
- >
- > -Should I disable or enable the MNP error correction on the modem?
- > -How about the ARQ error correction?
-
- Peter:
-
- Unless you have a noise-free telephone connection to your ISP, the PPP frame check
- errors resulting from byte-garbling without V.42 will swamp the "send the whole packet
- again" (slow) software error correction of TCP, and may even cause PPP to hang-up on
- you.
-
- With V.42 error-correcting protocols (either Link Access Procedure for Modems, or
- Microcom Network Protocols), your modem strips-off the start- and stop-bits framing
- each asynchronously (RS-232) transmitted 8-bit byte from your com port. It uses the
- resulting overhead-free data stream to encode an analog carrier with 6-bit-per-symbol
- analog symbols that it sends at 2400 symbols-per-second (baud) in long, synchronous
- frames. The result is that the 14400 bps modem-to-modem transfer rate is almost all
- data, without the overhead of start- and stop-bits, so you get a 20% speed boost.
-
- Conversely, if your modem accepts 14400 bps from the other modem using V.42, it must
- use RS232 to send the data asynchronously over your com port, so the addition of start-
- and stop-bits around each 8 bits of data means that your com port must unload data at
- 10 bits per byte, or 19200bps. If that modem data was compressed, its de-compression
- multiplies the required unloading rate(s) by the compression factor.
-
- The Lemple-Ziv-Welch compression of V42bis is more effective than the Huffman
- compression of MNP5, but the slightly compressible JPG images, the moderately
- compressible GIF images and the 3- or 4-to-1 compressible text usually means that you
- can get a 2-to-4 times speed-up of web pages (as opposed to no speedup on zip-files,
- since the version of LZW in pkzip is already more effective than that in V42bis). This
- means that the 19200 bps minimum acceptable unloading rate for your com port is
- multiplied by 2-to-4 times if you want to avoid throttling your modem.
-
- Try 57600, and if you get a few com overrun errors, drop back to 38400 bps. (If you get
- a lot of overruns, you have system configuration problems to address before worrying
- about things like WinSock settings.)
-
- > -Should I try MTU at about 1006 and MSS at about 960?
-
- Since, unlike SLIP, PPP is standardized, the default MTU of 1500 is a set-and-forget
- value that all PPP servers accept, including Netcom's.
-
- Due to the slow speed of an analog modem (compared to the 1544-or-more bps of much of
- the Internet), you'll probably find that the largest MSS that will fit (with 40 bytes
- of headers) in the Internet default MTU of 576 will give you the maximum speed through
- your modem (1.6KBytes/sec on Netscape Navigator's speedometer) on local downloads,
- without IP fragmentation slow-down on longer routing paths. (i.e. MSS=536.)
-
- > -How about Rwin at 4096
-
- Since RWIN is the maximum value of the TCP data flow control window, it should be an
- integer multiple of the size TCP data segments you're requesting through your MSS
- setting, or you'll be requesting that small left-over segments be sent. Try 8*MSS, and
- if you get too many TCP re-synchronizing pauses due to "unacceptable segments," drop
- back to 6- or 4-times.
-
- > -Should Jacobsen Compression be on?
-
- Absolutely, as it reduces the TCP/IP header data sent over the PPP (modem) link to only
- that which changed from the last packet. In long streams of packets from the same
- sender to you (like downloads) that reduces the average number of header bytes per TCP
- data segment from 40 to less than 10 - another small but noticeable speed boost over
- your modem.
-
- You might want to take a look at the FAQ at the URL listed below.
-
- Regards,
-
- Al
-
-
- --
- ==================================================================
- Albert P. Belle Isle
- Cerberus Systems, Inc.
-
- Al's Winsock Tuning FAQ -
- http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
- ==================================================================
-